home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
fnos16a5.zip
/
HELP.ZIP
/
SHELL
< prev
next >
Wrap
Text File
|
1996-06-04
|
1KB
|
30 lines
shell [cmd [args...]]
Suspends JNOS and executes a sub-shell ("command processor"
under MS-DOS). When the sub-shell exits, Nos resumes (under MS-DOS,
enter the exit command).
Note: see the COMSPEC environment variable.
Background activity (FTP servers, etc.) is also suspended while
the subshell executes. Note that this will fail unless there is
sufficient unused memory for the subshell and whatever command the
user tries to run. When shelled out, Mailbox Operator connects and
ttylink incoming connections are refused. A 'system unattended'
message is sent to the "connector" of that socket.
Here are some comments particular to the MSDOS system: if no
arguments are provided to the JNOS shell command, the MSDOS command processor
is invoked to process commands entered from the console. Use the exit command
to return to JNOS. If arguments are provided, the first one is assumed to
be the program name to invoke. If the program is a batch file, you must
precede it's name with /c so as to invoke the command processor explicitly
to process the batch file commands: shell /c ibackup.bat \spool\mail \bkup
The /c prefix is also useful to allow i/o redirection to be interpreted
by DOS: shell /c FC /A /C autoexec.bat autoexec.sav >outfile